package org.geektimes.web.mvc.header.matedata;

import org.geektimes.web.mvc.header.FrontControllerServlet;
import org.geektimes.web.mvc.header.HandlerMethodRegistry;

import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
* web 上下文  
* @author : KangNing Hu
*/
public class WebContent {

	private ServletRequest request;


	private ServletResponse response;


	private HandlerMethodRegistry handlerMethodRegistry;


	public WebContent(HttpServletRequest request, HttpServletResponse response, HandlerMethodRegistry handlerMethodRegistry) {
		this.request = request;
		this.response = response;
		this.handlerMethodRegistry = handlerMethodRegistry;
	}

	public ServletRequest getRequest() {
		return request;
	}

	public ServletResponse getResponse() {
		return response;
	}

	public HandlerMethodRegistry getHandlerMethodRegistry() {
		return handlerMethodRegistry;
	}
}
